<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
		},
		onShow: function() {
			console.log(uni.canIUse('getUpdateManager'),'App Show')
			 if (uni.canIUse('getUpdateManager'))
			    {
			        const updateManager = uni.getUpdateManager()
					console.log(updateManager,'updateManager')
			        updateManager.onCheckForUpdate(function (res) {
			            if (res.hasUpdate)
			            {
			                updateManager.onUpdateReady(function(){
			                    uni.showModal({
			                        title: '更新提示',
			                        content: '新版本已经准备好，是否重启应用？',
			                        success(res) {
			                          if (res.confirm) {
			                            // 新的版本已经下载好，调用 applyUpdate 应用新版本并重启
			                            updateManager.applyUpdate()
			                          }
			                        }
			                    })
			                })
			            }
			        })
			    }
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	/* 注意要写在第一行，同时给style标签加入lang="scss"属性 */
	@import "@/uni_modules/uview-ui/index.scss";
	.content{
		font-size: 14px;
		font-family: "Source Han Sans CN", "Noto Sans CJK SC", "Source Han Sans SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
		background-color: #fafafa;
	}
	page{
		background-color: #fff;
	}
	.auth-container {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 1998;
	}
	.em3{
		width: 3em;
	}
	.em4{
		width: 4em;
	}
	.em5{
		width: 5em;
	}
	.em6{
		width: 6em;
	}
	.content::-webkit-scrollbar {
		width: 0; /* 隐藏滚动条 */
		display: none !important;
	}
	
	.pl5{
		padding-left: 5%;
	}
	.head_static{
		display: flex;
		justify-content: space-between;
		// box-shadow: 0 0 1px #ddd;
		padding: 10px;
		width: 90%;
		margin: 10px auto;
		flex-wrap: wrap;
	}
	.bb {
		border-bottom: 1px dotted #ddd;
		padding-bottom: 10px;
	}
	.tit{
		font-size: 18px;
		color: #333333;
	}
	.h1{
		font-size: 18px;
		font-weight: bold;
		color: #333;
	}
	.h3_1{
		font-size: 16px;
		font-weight: 400;
		color: #333;
		padding-bottom: 15px;
		padding-top: 5px;
	}
	.h3{
		font-size: 15px;
		font-weight: 550;
		color: #333;
	}
	.h4{
		font-size: 14px;
		font-weight: 550;
		color: #333;
	}
	.no_one{
		overflow: hidden;  //隐藏
		white-space: nowrap;  //不换行
		text-overflow: ellipsis; //显示...
	}
	.val{
		display: flex;
		justify-content: space-between;
		align-items: center;
		color:#333;
	}
	.em1{
		width: 1em;
	}
	.left {
		color: #999;
		font-size: 14px;
		font-weight: 400;
	}
	.right {
		text-align: right;
		align-items: center;
		// font-weight: 550;
		color: #333333;
	}
	.fz{
		font-size: 15px;
	}
	.c6{
		color:#666;
	}
	.blue{
		color: #3c9cff;
	}
	.red{
		color: #ec1043;
	}
	.sz12{
		font-size: 12px;
	}
	.sz13{
		font-size: 13px;
	}
	.sz14{
		font-size: 14px;
	}
	.sz15{
		font-size: 15px;
	}
	.sz16{
		font-size: 16px;
	}
	.sz36{
		font-size: 36px;
		font-weight: bold;
		margin-right: 5px;
		position: absolute;
	}
	.h80{
		height: 80px;
	}
	.h50{
		height: 50px;
	}
	.h60{
		height: 60px;
	}
	.h70{
		height: 70px;
	}
	.h100{
		height: 100px;
	}
	.h120{
		height: 120px;
	}
	.h2{
		height: 2px;
	}
	.h10{
		height: 10px;
	}
	.h20{
		height: 20px;
	}
	.h30{
		height: 30px;
	}
	.h40{
		height: 40px;
	}
	
	.h50{
		height: 50px;
	}
	.h01{
		height: 1px;
	}
	.success{
		color: #5ac725;
	}
	.tis{
		text-align: center;
		color: #ddd;
		font-size: 12px;
	}
	.tac{
		text-align: center;
	}
	.t1{
		text-align: left;
		color: red;
		font-size: 10px;
	}
	.down{
		position: fixed;
		padding: 10px 0px;
		text-align: center;
		width: 100vw;
		// height: 60px;
		bottom: 0;
		padding-bottom: calc(env(safe-area-inset-bottom) + 5px);
		display: flex;
		background-color: #fff;
		justify-content: space-around;
		z-index: 199;
		// box-shadow: 0px 1px 4px 0px rgba(165,165,165,0.57);
	}
	.dw{
		padding-left: 2px;
		color: #666;
	}
	.but_h{
		height: env(safe-area-inset-bottom);
	}
	// 人员样式 开始
	.zx_div {
		display: flex;
		justify-content: space-between;
	}
	
	.zx_left {
		width: 30%;
		// min-height: 100vh;
		background-color: #f3f4f6;
		text-align: center;
	}
	
	.zx_right {
		background-color: #fff;
		width: 70%;
	}
	
	.zx_left_list {
		text-align: center;
		display: flex;
		justify-content: center;
		align-items: center;
		padding-left: 10px;
		padding: 15px 0;
		font-size: 14px;
	}
	
	.zx_xz {
		border-right: none;
		padding: 15px 0;
		border-radius: 0;
		background-color: #fff;
		font-size: 14px;
		color: #4585EA;
	}
	
	.zx_r_list {
		margin: 15px auto;
		display: flex;
		justify-content: space-around;
		width: 100%;
		flex-wrap: wrap;
	}
	.zx_shu {
		width: 3px;
		height: 16px;
		background: #4585EA;
		margin-right: 5px;
	}
	.zx_name {
		font-size: 15px;
		// font-weight: 400;
		color: #333333;
	}
	// 人员样式结束
	.r_sta{
		font-size: 12px;
		padding: 2px 5px;
		color: #fff;
		opacity: 0.8;
	}
	
	// 创建合同头部开始
	.head_div {
		padding-top: 20px;
		background-color: #5193F3;
		height:70px;
		width: 100%;
		z-index: 10px;
	}
	
	.head1 {
		height: 6px;
		background: #FFFFFF;
		opacity: 0.3;
		width: 80%;
		margin: 0 auto;
	}
	
	.head2 {
		width: 82%;
		margin: 0 auto;
		display: flex;
		justify-content: space-between;
		position: relative;
		top: -10px;
		
	}
	.img_wan {
		position: relative;
		top: -5px;
	}
	.head3 {
		width: 82%;
		margin: -8px auto;
		display: flex;
		justify-content: space-between;
		position: relative;
		font-size: 15px;
	}
	.xz {
		// font-weight: 400;
		color: #FFFFFF;
	}
	
	.xg {
		// font-weight: 400;
		color: #C0DAFF;
	}
	
	.wx {
		// font-weight: 400;
		color: #A4C0EC;
	}
	.fy {
		width: 84%;
		border-radius: 15px 15px 0 0;
		padding: 5px 8%;
		/* padding-top: 15px; */
		position: relative;
		text-align: left;
		top: -10px;
		z-index: 5px;
		background-color: #fff;
		border-bottom: 1px dashed #E6E6E6;
		color: #BBBBBB;
		display: flex;
		justify-content: space-between;
		align-items: center;
		height: 45px;
		line-height: 45px;
	}
	// 创建合同头部结束
	.dssb{
		display: flex;
		justify-content: space-between;
	}
	.dfsa{
		display: flex;
		justify-content: space-around;
		align-items: center;
	}
	.dsfs{
		display: flex;
		justify-content: flex-start;
		align-items: center;
	}
	.head_fz{
		font-size: 18px;
	}
	.c3_9{
		color: #999;
	}
	// 头部弹出层
	.head_right_field{
		z-index: 9999;
		position: fixed;
		right: 0;
		top: 75px;
		background: #f2f2f2;
	}
	.head_but{
		min-width: 30vw;
		padding: 10px 5px;
		border-bottom: 1px solid #ddd;
	}
	.box {
		width: calc(100vw - 70px);
		background-color: #fff;
		border-radius: 8px;
		padding: 20px;
		margin: 0 auto;
	}
	.box2 {
		width: 85%;
		margin: 10px auto;
		background-color: #f5f5f5;
		border-radius: 8px;
		padding: 10px;
	}
	.box3 {
		width: 100%;
		margin: 10px auto;
		background-color: #fff;
		padding: 10px;
		box-shadow: 0px 1px 4px 0px rgba(165,165,165,0.57);
	}
	.mr10{
		margin-right: 6px;
	}
	.list{
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	.list3{
		margin: 10px auto;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	.list_min{
		margin: 5px auto;
		display: flex;
		justify-content: space-between;
		align-items: center;
		font-size: 14px;
	}
	.mr13{
		margin-right: 13px;
	}
	.list2{
		margin: 15px auto;
		display: flex;
		justify-content: space-between;
		align-items: center;
		// font-weight: 550;
	}
	.ss{
		display: flex;
		justify-content: space-between;
		width: 85%;
		margin: 8px auto;
		line-height: 28px;
		align-items: center;
		background-color: #f2f2f2;
		border-radius: 8px;
		padding: 5px 10px;
	}
	.ss2{
		width: 60px;
		text-align: center;
		border-left: 1px solid #ddd;
		font-size: 14px;
		// font-weight: 550;
		color: #4585EA;
	}
	.w2em{
		width: 1em;
	}
	.em2{
		width: 2em;
	}
	.w50{
		width: 50%;
	}
	.sta{
		text-align: center;
		height: 22px;
		line-height: 22px;
		width: 45px;
		color: #fff;
		border-radius:0 8px 0 8px ;
		opacity: 0.8;
		position: absolute;
		top: 0;
		right: 0;
		font-size: 10px;
		// font-weight: 400;
	}
	
	// 背景色
	
	.shu{
		background-color: #5193f3;
		width: 3px;
		height: 12px;
		margin-right: 5px;
	}
	.og{
		color: #f25826;
	}
	.w70{
		width: 70%;
	}
	.w30{
		width: 30%;
	}
	.w10{
		width: 10%;
	}
	.w20{
		width: 20%;
	}
	.w40{
		width: 40%;
	}
	.w50{
		width: 50%;
	}
	.w60{
		width: 60%;
	}
	.w80{
		width: 80%;
	}
	.w90{
		width: 90%;
	}
	.tou{
		width: 100%;
		height: 80px;
		line-height: 40px;
		display: flex;
		justify-content: center;
		color: #333;
		font-size: 14;
		font-weight: 550;
		position: fixed;
		top: 0;
		z-index: 100;
		background-color: #fff;
	}
	.tou_title{
		text-align: center;
		margin-top: 34px;
		font-size: 18px;
		font-weight: 550;
		letter-spacing: 0px;
		color: #333;
	}
	.fan{
		position: absolute;
		bottom: 5px;
		left: 11px;
		display: flex;
		justify-content: start;
		height: 40px;
	}
	.list_title{
		display: flex;
		justify-content: space-between;
		padding: 0 15px;
		align-items: center;
		font-size: 16px;
		font-weight: 550;
	}
	.fan_text{
		margin-left: 5px;
	}
	.bianji{
		position: absolute;
		bottom: 5px;
		left: 110px;
		height: 30px;
	}
	// 不换行
	.noh{
		overflow: hidden;  //隐藏
		white-space: nowrap;  //不换行
		text-overflow: ellipsis; //显示...
	}
	.noh2{
		word-break:break-all;
		display:-webkit-box;
		-webkit-line-clamp:2;
		-webkit-box-orient:vertical;
		overflow:hidden;
	}
	.fankuai{
		width: 10px;
		height: 10px;
		transform: rotate(45deg);
		background: rgba(64, 143, 255, 1);
	}
	.line{
		position: absolute;
		top: 24px;
		left: -10.8px;
		width: 32px;
		height: 1px;
		z-index: 10; /* 线条位于圆点下方 */
		transform: rotate(90deg);
		border-bottom: 1px dashed #408fff;
	}
	.shuzi{
		color: #fff;
		font-size: 10px;
		width: 14px;
		height: 14px;
		line-height: 14px;
		text-align: center;
		border-radius: 4px;
		background-color: #408fff;
		margin-right: 10px;
		margin-top: 3.5px;
	}
	
</style>


